package com.modifiertech.lineage.event;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.event.entity.player.PlayerEvent;

/**
 * ClassName: SkillLevelUpEvent <br/>
 * Description: <br/>
 * date: 2020/8/23 14:51<br/>
 *
 * @author Administrator<br />
 * @since JDK 1.8
 */
public class SkillHandingOffEvent extends PlayerEvent {
    private String skillName;

    public SkillHandingOffEvent(EntityPlayer player, String skillName) {
        super(player);
        this.skillName=skillName;
    }

    public static class Pre extends SkillHandingOffEvent {


        public Pre(EntityPlayer player, String skillName) {
            super(player, skillName);
        }
    }

    public static class Post extends SkillHandingOffEvent {

        public Post(EntityPlayer player, String skillName) {
            super(player, skillName);
        }
    }

    public static class PostErr extends SkillHandingOffEvent {
        public PostErr(EntityPlayer player, String skillName) {
            super(player, skillName);
        }
    }
    public String getSkillName() {
        return skillName;
    }

    public void setSkillName(String skillName) {
        this.skillName = skillName;
    }
}
